/*
 * launcher_robot11b.cpp
 *
 *  Created on: Dec 19, 2013
 *      Author: m
 */

#include "ProcessAux.h"
#include "Cinta13A.h"
#include "Cinta13B.h"
#include "Cinta15.h"
#include "Robot11AProductor.h"
#include "Robot11BProductor.h"
#include "Robot14Consumidor.h"
#include "Robot14Productor.h"
#include "Robot16Consumidor.h"
#include "DSEMManager.h"

int main ( int argc, char* argv[] )
{
    // Lanzar los semaforos distribuidos especificos del robot11b
    DSEMManager::createWaiter( Cinta13B::s_ipcBaseFile, Cinta13B::s_semProductorKey2, "cinta13bprod" );
    DSEMManager::createSignaler( Cinta13B::s_ipcBaseFile, Cinta13B::s_semConsumidorKey1, "cinta13bcons" );
    DSEMManager::createWaiter( Robot11BProductor::s_ipcBaseFile, Robot11BProductor::s_semaphoreKey2, "r11bprod" );
    DSEMManager::createSignaler( Robot14Consumidor::s_ipcBaseFile, Robot14Consumidor::s_semaphoreKey1, "r14cons" );

//    ProcessAux::launchProcess( "./controlR11B" );

    return 0;
}
